<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>主界面</title>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html,
        body {
            width: 100%;
            height: 100%;
            font-family: 'Poppins', sans-serif;
            background-image: url('../pictures/bk_image2.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            backdrop-filter: blur(3px);
        }

        .container {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* 优化后的导航栏样式 */
        .container .navbar {
            height: 70px;
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.8) 0%, rgba(0, 150, 255, 0.8) 100%);
            padding: 0 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(5px);
            position: relative;
            z-index: 100;
        }

        .container .navbar a {
            display: inline-block;
            padding: 20px 24px;
            font-size: 18px;  /* 字体放大 */
            font-weight: 600;  /* 增强字体粗细 */
            color: white;
            text-decoration: none;
            border-radius: 25px;
            margin: 0 15px;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
        }

        .container .navbar a::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .container .navbar a:hover {
            background-color: rgba(255, 255, 255, 0.1);
            box-shadow: none;  /* 移除悬停阴影 */
            color: #ffffff;
        }

        .container .navbar a:hover::before {
            transform: scaleX(1);
        }

        .container .navbar .login1 {
            margin-left: 20px;
            background-color: rgba(255, 255, 255, 0.1);
        }

        .container .navbar .login1:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        /* 响应式优化 */
        @media (max-width: 768px) {
            .container .navbar {
                padding: 0 15px;
            }

            .container .navbar a {
                padding: 10px 18px;
                margin: 0 10px;
                font-size: 17px;  /* 移动端字体适配 */
            }
        }

        /* 其他未修改的样式保持不变 */
        .container .content {
            width: 80%;
            max-width: 800px;
            margin: auto;
            text-align: center;
            padding: 20px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .container .content .font_ {
            display: block;
            margin-top: 20px;
            text-decoration: none;
            font-size: 18px;
        }

        .container .content h1 {
            font-size: 36px;
            color: #333;
        }

        .container .content p {
            font-size: 16px;
            color: #666;
        }

        .container .content a.font_ {
            display: inline-block;
            background-color: #00c3ff;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }

        .container .content a.font_:hover {
            background-color: #00a2d4;
        }

        .container .footer {
            width: 100%;
            height: 50px;
            text-align: center;
            line-height: 50px;
            color: #ccc;
            background-color: rgba(0, 0, 0, 0.5);
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="navbar">
            <a class="page1" href="/MainPagehtml/MainPage.html">首页</a>
            <a class="login1" onclick="alert('现登录用户为普通用户！');">用户</a>
        </div>
        <div class="content">
            <h1 class="font_">欢迎来到蒙古语情感分析系统!</h1>
            <p class="font_">目前是一个V1.0的在线分析系统</p>
            <a class="font_" href="/analysis">点击进入</a>
        </div>
        <div class="footer">
            <h4>@基于CNN的蒙古语情感分析系统</h4>
        </div>
    </div>
</body>

</html>
